import { DefaultTheme } from 'vitepress'

export const Guides: DefaultTheme.NavItemWithLink[] = [
  { text: '快速开始', link: '/guide/quick-start' },
]

export const Infrastructure: DefaultTheme.NavItemWithLink[] = [
  { text: "依赖注入", link: "/guide/infrastructure/dependency-injection" },
  { text: "配置管理", link: "/guide/infrastructure/configuration" },
  { text: "选项", link: "/guide/infrastructure/options" },
  { text: "日志记录", link: "/guide/infrastructure/logging" },
  { text: "分布式缓存", link: "/guide/infrastructure/caching" },
  { text: "HttpClient", link: "/guide/infrastructure/http-client" },
  { text: "序列化", link: "/guide/infrastructure/serialization" },
  { text: "ORM", link: "/guide/infrastructure/orm" },
];

export const Hosting: DefaultTheme.NavItemWithLink[] = [
  { text: "通用主机", link: "/guide/hosting/host" },
  { text: "Web主机", link: "/guide/hosting/web-host" },
];

export const Middleware: DefaultTheme.NavItemWithLink[] = [
  { text: "路由中间件", link: "/guide/middleware/routing" },
  { text: "MVC中间件", link: "/guide/middleware/mvc" },
  { text: "健康检查中间件", link: "/guide/middleware/health-check" },
  { text: "跨域处理中间件", link: "/guide/middleware/cors" },
  { text: "静态文件中间件", link: "/guide/middleware/static-file" },
  { text: "身份认证中间件", link: "/guide/middleware/authentication" },
  { text: "身份授权中间件", link: "/guide/middleware/authorization" },
  { text: "OpenApi中间件", link: "/guide/middleware/openapi" },
];

export const Security: DefaultTheme.NavItemWithLink[] = [
  { text: "身份声明", link: "/guide/security/claim" },
  { text: "身份令牌", link: "/guide/security/token" },
  { text: "OIDC认证协议", link: "/guide/security/oidc-protocols" },
  { text: "身份认证中心", link: "/guide/security/identity-server" },
  { text: "Jwtbearer认证", link: "/guide/security/jwtbearer" },
];